When saving a song, there are a couple things you must first check.  You must at least include the last pattern of the song in the Sequence table.  Also, you cannot have any gaps in the sequence(ie:  you cannot skip a slot in the sequence and insert a pattern in the next slot).  Blanks at the end of a song's sequence are fine (I have yet to see a song that used all 128 slots).